package com.funong.matrix.biz.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.funong.matrix.core.base.FunongBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author : NaNa
 * @since : 2023-05-19 15:51
 **/
@Data
@TableName("sys_dict")
@Accessors(chain = true)
public class SysDictEntity extends FunongBaseEntity {
    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID")
    private Integer parentId;
    /**
     * 字典编码
     */
    @ApiModelProperty(value = "字典编码")
    private String dictCode;
    /**
     * 字典值
     */
    @ApiModelProperty(value = "字典值")
    private String dictValue;
    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称")
    private String dictName;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer orderNum;
    /**
     * 系统来源
     */
    @ApiModelProperty(value = "系统来源")
    private Integer systemId;

    public static final LambdaQueryWrapper<SysDictEntity> gw() {
        return new LambdaQueryWrapper<>();
    }
}
